import Vue from 'vue'
import Vuex from 'vuex'


Vue.use(Vuex);

const store = new Vuex.Store({
	state:{//存放状态
		token:'1',
		id:'1',
		userinfo:'',
		todos: [{
						id: 1,
						text: '我是内容一',
						done: true
					},
					{
						id: 2,
						text: '我是内容二',
						done: false
					}
				]
	},
	getters: {
			
		}
})


export default store
